import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import vant from "vant"
import "vant/lib/index.less";
import "./assets/css/vant_1.css";
import { GetSignature } from "./utils/wx-sdk.js"
const app = createApp(App);
app.use(store).use(router).use(vant).mount('#app')
import { BASESHARE } from "../setting.js";
router.beforeEach((to, from, next) => {
        // let url = window.location.href.split('#')[0];
        GetSignature(BASESHARE) //传入sdk.js需要的参数
        next()
}) 